package com.itheima.domain.system;


import java.io.Serializable;
import java.util.Date;

public class SysLog implements Serializable {

    private String id;//日志主键
    private String userName;//当前访问的用户名称
    private String ip;//当前访问的ip地址
    private Date time;//当前访问的时间
	private String method;//当前访问的控制器方法
	private String action;//当前访问的控制器方法说明
    private String companyId;//当前访问的用户企业id
    private String companyName;//当前访问的企业名称

	@Override
	public String toString() {
		return "SysLog{" +
				"id='" + id + '\'' +
				", userName='" + userName + '\'' +
				", ip='" + ip + '\'' +
				", time=" + time +
				", method='" + method + '\'' +
				", action='" + action + '\'' +
				", companyId='" + companyId + '\'' +
				", companyName='" + companyName + '\'' +
				'}';
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
}
